package cm.zhentao.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName t_device
 */
@TableName(value ="t_device")
@Data
public class TDevice implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 设备id编号
     */
    @TableField(value = "sn")
    private String sn;

    /**
     * 设备昵称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 类型
     */
    @TableField(value = "typeId")
    private Integer typeid;

    /**
     * 设备归属的农场Id
     */
    @TableField(value = "farmId")
    private Integer farmid;

    /**
     * 设备的位置
     */
    @TableField(value = "location")
    private String location;

    /**
     * 设备图片
     */
    @TableField(value = "image")
    private String image;

    /**
     * 安装时间
     */
    @TableField(value = "installTime")
    private Date installtime;

    /**
     * 状态：0 在线  1离线
     */
    @TableField(value = "state")
    private String state;

    /**
     * 规格
     */
    @TableField(value = "standard")
    private String standard;

    /**
     * 生产厂商
     */
    @TableField(value = "manufacturer")
    private String manufacturer;

    /**
     * 拥有者
     */
    @TableField(value = "userId")
    private Integer userid;

    /**
     * 设备软件版本号
     */
    @TableField(value = "softwareV")
    private String softwarev;

    /**
     * 设备阀值的最小值
     */
    @TableField(value = "threshoIdMin")
    private Integer threshoidmin;

    /**
     * 设备阀值的最大值
     */
    @TableField(value = "thresholdMax")
    private String thresholdmax;

    /**
     * 设备备注
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * 
     */
    @TableField(value = "createTime")
    private Date createtime;

    /**
     * 
     */
    @TableField(value = "updateTime")
    private Date updatetime;

    /**
     * 操作人员
     */
    @TableField(value = "operator")
    private String operator;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}